import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Menu from '@/components/Menu';
import carList from '../components/car/List'
import carSize from '../components/car/Carsize'
import seachList from '../components/car/seachList'
import curb from '../components/car/Curb'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/Menu',
      name: 'Menu',
      component: Menu
    },
    {
      path: '/car/List',
      name: 'carList',
      component: carList
    },
    {
      path: '/car/Carsize',
      name: 'Carsize',
      component: carSize
    },
    {
      path: '/car/searchList',
      name: 'searchList',
      component: seachList
    },
    {
      path: '/car/Curb',
      name: 'curb',
      component: curb
    }
  ]
})
